package com.java.zhuiyun.api.jielongidiomlevel.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName JieLongIdiomLevelModel
 * @Description TODO
 * @Author 杨友朋
 * @Date 2023/9/13 10:40
 **/
@Data
public class JieLongIdiomLevelModel implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 成语接龙关卡主键id(杨友朋)
     */
    private Integer id;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//DateTimeFormat 是入参格式化；
    private Date createTime;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//DateTimeFormat 是入参格式化；
    private Date updateTime;

    /**
     * 成语
     */
    private String idiomValue;

    /**
     * 关卡
     */
    private String level;

}